package com;

import org.junit.Test;
import redis.clients.jedis.Jedis;

public class redis {


    /**
     *
     * 1.导包、拖入、接着 add 按时library
     */

    @Test
    public void test01(){

        Jedis jedis = JedisUtil.getJedis();
        jedis.set("name02","小王");
        jedis.set("name03","小例子");
        jedis.close();
        ;
        System.out.println(jedis.get("name02"));
    }
}
